package com.nti56.springboot.service;

import java.util.List;
import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.nti56.springboot.mapper.tmsmapper.MachRunTimeMapper;
import com.nti56.springboot.mapper.tmsmapper.MachStatusMapper;
import com.nti56.springboot.model.MachStatus;

/**
 * 机台状态
 * @author szq
 *
 */
@Service
public class MachStatusService {
	
	@Autowired
	private MachStatusMapper machStatusMapper;
	/**
	 * 查询机台实时状态
	 * @param map
	 * @return
	 */
	public List<MachStatus> getMachRealTimeStatus(Map map) {
		return machStatusMapper.getMachRealTimeStatus(map);
	}
}
